<template>
  <div class="page chat-express-inquiry-result">
    <div class="content">
      <div class="summary" v-if="expressResult.porxyNo">
        <p>运单号：{{expressResult.porxyNo}}</p>
        <p>始发地：{{expressResult.originatePlace}}</p>
        <p>目的地：{{expressResult.destinationPlace}}</p>
        <p>最新操作地：{{expressResult.porxyArrivePlace}}</p>
        <p>最新路由节点：{{expressResult.porxyRouteNode}}</p>
        <p>最新操作时间：{{expressResult.porxyArriveDate}}</p>
      </div>
      <div v-else>
        <p>运单号：{{expressResult.sfNo}}</p>
        <p>始发地：{{expressResult.originatePlace}}</p>
        <p>目的地：{{expressResult.destinationPlace}}</p>
        <p>最新操作地：{{expressResult.sfArrivePlace}}</p>
        <p>最新路由节点：{{expressResult.sfRouteNode}}</p>
        <p>最新操作时间：{{expressResult.sfArriveDate}}</p>
      </div>
    </div>
  </div>
</template>
 
<script>
import mixins from '@/mixins'

export default {
  mixins: [mixins],
  data () {
    return {
      expressResult: {},
    }
  },
  mounted () {
    this.resetData()
    this.expressResult = this.$store.state.expressInquiryResult
  },
  methods: {
  }
}
</script>
 
<style lang="less">
.chat-express-inquiry-result {
  .content {
    padding: 30rpx 0;
    background-color: #fff;
  }
  .summary {
    padding: 0 30rpx;
    font-size: 32rpx;
    p {
      padding: 5rpx 0;
    }
  }
}
</style>
